<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        /*多个div用逗号隔开，都会生效*/
        p,div,span{
            color: red;
        }
    </style>
</head>
<body>
<p>ppp</p>
<div>div</div>
<span>span</span>
</body>
</html>